const api = `/api/book`;
module.exports = (app) => {
  app.router.post(`${api}/list`, app.controller.book.list);
  app.router.post(`${api}/detail`, app.controller.book.detail);
  app.router.post(`${api}/update`, app.controller.book.detail);
  app.router.post(`${api}/destroy`, app.controller.book.destroy);
};
